package cn.wanda.bi.sunshine.platform.server.controller.request;

import cn.wanda.bi.sunshine.platform.server.client.request.elasticsearch.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by wangfupeng1
 */
@ApiModel
@Data
public class LabelQueryRequest implements Serializable{

    @ApiModelProperty("0：且查询条件（and）, 1:或查询条件（or）")
    private int logic;

    List<DimUserLabelAllRequest> requests;

    @ApiModelProperty("排序字段，默认是puid")
    String sortField;

    @ApiModelProperty("0：desc, 1:asc")
    Integer  sortOrder;
}
